package com.pojo.Entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Game implements Serializable {
   private Integer  gID;
   @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
   @DateTimeFormat(pattern="HH:mm:ss")
   private Date    gBtime, gEtime;
   @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
   @DateTimeFormat(pattern="yyyy-MM-dd")
   private Date    gDate;
   private Integer  gRecoders;
   private Integer  gLocation;
   private String  gDescribe ;
   private Integer  gState ;
   private Integer  vID ;
   private String gRecodersName,gName;
   private String gLocationName,gType,gReferee;
}
